package com.yxq.sso.repository;

import com.yxq.sso.entity.ExamineApproval;
import org.springframework.data.repository.CrudRepository;

/**
 * @author YXQ
 * @date 2021/12/7 19:13
 */
public interface ExamineApprovalRepository  extends CrudRepository<ExamineApproval,Long> {

    /**
     * 通过流程名称查找审批流程对象
     *
     * @param name 审批流程对象的名字
     * @return 审批流程
     */
    ExamineApproval findByNameEquals(String name);
}
